var oPopup = window.createPopup();
var sPop = null;
function showPopupWin()
{
var tPopWait=250; //???????????????????alt?title?????500???
var o=event.srcElement;

if(o.alt!=null && o.alt!=""){o.sPop=o.alt;o.alt="";}
if(o.title!=null && o.title!=""){o.sPop=o.title;o.title="";}

if(sPop!=o.sPop) sPop=o.sPop;
if(sPop==null || sPop=="")
oPopup.hide(); //Hidden
else
setTimeout("showIt("+event.x+","+event.y+")",tPopWait);
}
function showIt(MouseX,MouseY)
{
if(sPop)
{
var foreColor="#000000"; //????
var backColor="#66ccff"; //???
var borderColor="#000000"; //????

var maxWidth=1000; //????????????????alt?title??????295?
var content1 ="<table border='0' cellspacing='1' cellpadding='3' bgcolor='" + borderColor + "'><td bgcolor='" + backColor + "' style='color:" + foreColor + "; font-size:12px; font-family: Verdana; line-height:120%' nowrap>" + sPop + "</td></table>";
var content2 ="<table border='0' cellspacing='1' cellpadding='3' bgcolor='" + borderColor + "' width='" + maxWidth + "'><td bgcolor='" + backColor + "' style='color:" + foreColor + "; font-size:12px; font-family: Verdana; line-height:120%'>" + sPop + "</td></table>";
oPopup.document.body.innerHTML=content1;
oPopup.show(); //???
var left = MouseX + 0;
var top = MouseY + 12;
var width = oPopup.document.body.scrollWidth;
var height = oPopup.document.body.scrollHeight;

if(width>maxWidth)
{
   oPopup.document.body.innerHTML=content2;
   width = oPopup.document.body.scrollWidth;
   height = oPopup.document.body.scrollHeight;
}
oPopup.show(left, top, width, height, document.body);
}
}
document.onmouseover = showPopupWin;